package shayu.product.feign;

import io.renren.common.to.SkuReductionTo;
import io.renren.common.to.SpuBoundTo;
import io.renren.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient("shop-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/sava")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);

    @PostMapping("/coupon/skufullreduction/savainfo")
    R savaSkuReduction(@RequestBody SkuReductionTo skuReductionTo);


}
